package com.top.jwtdemo.controller;

import com.top.jwtdemo.utils.R;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author  Cjj
 * @data   2024/6/17 14:19
 * @blog   登录测试
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @PostMapping("/getLogin")
    public R<?> getLogin(){
        return R.ok("获取数据成功");
    }

    @PostMapping("getMassage")
    public R<?> getMassage(){
        return R.ok("获取数据成功");
    }
}
